package com.douxg.learning.java.base;

import java.util.HashMap;
import java.util.Map;
import java.util.regex.Pattern;

/**
 * @Description
 * @Auther douxg
 * @Date 2021/3/20 15:33
 */
public class MapTest {
    public static void main(String[] args) {
//        Map a = new HashMap();
//        a.put(null, null);
//        System.out.println(a.get(null));
        boolean matches = Pattern.matches(".*(?i)访问敏感文件.*|.*(?i)敏感信息.*|.*(?i)敏感文件与目录.*", "敏感a信息");
        System.out.println(matches);
    }
}
